//
//  MomentCell.m
//  EconomyDemo
//
//  Created by qianfeng01 on 15-7-7.
//  Copyright (c) 2015年 xiangmu. All rights reserved.
//

#import "MomentCell.h"
#import "PictureModel.h"
#import "UIImageView+WebCache.h"
@implementation MomentCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)showDataWithModel:(PictureModel *)model{
    
    NSString *url=[NSString stringWithFormat:@"%@%@",model.path,model.thumbnails_url];
    [self.ImageView sd_setImageWithURL:[NSURL URLWithString:url]];
    self.titleLabel.text=[NSString stringWithFormat:@"%@",model.title];
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
